//
//  LYOurDataView.swift
//  LYOnlineBanking
//
//  Created by 李永彬 on 2025/7/22.
//

import UIKit

class LYOurDataView: UIView {
    lazy var bgImageView: UIImageView = {
        let imageView = UIImageView()
        
        if appCountryEnv == .indonesia {
            imageView.image = UIImage(named: "our_data_id")
        } else {
            imageView.image = UIImage(named: "our_data")
        }
        imageView.contentMode = .scaleAspectFill
        return imageView
    }()
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        addSubview(bgImageView)
        bgImageView.snp.makeConstraints { make in
            make.edges.equalToSuperview()
        }
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
